﻿using Server.Constant;
using Server.Framework.Message;

namespace Server.Message.Request
{
    /// <summary>
    /// Author: Leil
    /// Description: 类描述
    /// CreateTime: 2020/5/13 10:07:46
    /// </summary>
    [MessageAttr(MessageId.DELETE_ORG)]
    class DeleteOrgReq : RequestBaseMessage
    {
        public int ID { get; set; }

        public override void Deserialize(byte[] buffer)
        {
            DeleteOrg msg = DeleteOrg.Parser.ParseFrom(buffer);
            ID = msg.Id;
        }
    }
}
